home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-5471 / doc / fevereng.txt < prev    next >
Text File  |  1991-11-12  |  12KB  |  321 lines

  1.                                 MPEG FEVER
  2.                                 ===========
  3.                                (Version 1.0)
  4.  
  5.          Shell for creating and working with ~MPEG animations.
  6.  
  7.                                 MDB Software
  8.  
  9. 0 MPEG FEVER is POSTCARDWARE
  10. ----------------------------
  11. If you use this program you must send me a postcard. Use it to tell me if 
  12. there is anything you would like to see in MPEG FEVER or if there are 
  13. any bugs. If you want a 68000 and coprocessor ~version then send me a 
  14. disk with a stamped addressed envelope.
  15.  
  16.  
  17. CHAUSSY Laurent
  18. 50 rue du bout d'en haut
  19. 77570 Mondreville
  20. FRANCE
  21. Email : bidouill@ibm580.ensicaen.ismra.fr
  22.  
  23.  
  24. I Contents of the FEVER.ZIP archive and installation
  25. ----------------------------------------------------
  26.  
  27.  MPGFEVER-|
  28.           |-68000-|
  29.           |       |-ENCODE.TTP   (68000 version of the encoder)
  30.           |       |-DECODE.TTP   (68000 version of the decoder)
  31.           |       |-MPEGUTI.TTP  (68000 version of MPEGUTILS)
  32.           |
  33.           |-68030-|
  34.           |       |-ENCODE.TTP   (68030 version of the encoder)
  35.           |       |-DECODE.TTP   (68030 version of the decoder)
  36.           |       |-MPEGUTI.TTP  (68030 version of MPEGUTILS)
  37.           |
  38.           |-68030+82-|
  39.           |          |-ENCODE.TTP   (68030+copro version of the encoder)
  40.           |          |-DECODE.TTP   (68030+copro version of the decoder)
  41.           |          |-MPEGUTI.TTP  (68030+copro version of MPEGUTILS)
  42.           |
  43.           |-VISU-|
  44.           |      |-MPEGDSP.TTP   (Colour viewer for the Falcon)
  45.           |      |-PLAYMPEG.TOS  (NB viewer for the Falcon)
  46.           |      |-MPEGPLAY.TTP  (Very slow colour viewer)
  47.           |
  48.           |-DOC-|
  49.           |     |-ENCODE.TXT  (Manual for the encoder in English)
  50.           |     |-DECODE.TXT  (Manual for the decoder in English)
  51.           |     |-MPEGUTI.TXT (Manual for MPEGUTILS in English)
  52.           |     |-FEVER.TXT   (This file)
  53.           |     |-FAQ.TXT     (Answers to the most frequently asked
  54.           |                    questions about MPEG animations in English)
  55.           |
  56.           |-INFOMPEG-|
  57.           |          |-INFOMPEG.TTP  (Small utility in English)
  58.           |          |-INFOMPEG.DOC  (The document)
  59.           |
  60.           |-ESSAI-|
  61.           |       |-CINDY.MPG   (An animation with CINDY !!!)
  62.  
  63.  
  64. A hard drive is recommended (essential). For the ST user I advise you to 
  65. put the machine into high resolution and for others use a resolution of a 
  66. minimum of 640*640. MPEG FEVER works with MINT, but it hasn't been 
  67. cleaned up yet; this will be done in a future version.
  68.  
  69. Once the archive has been decompressed, run the program and go to the 
  70. Configuration menu and the path selections.
  71.  
  72. - Click on the disk icon next to "Encoder :" and find the ENCODE.TTP 
  73. which corresponds to your processer~.
  74. - Do the same with "Decoder :" and DECODE.TTP
  75. - And again with "MpegUtils :" and MPEGUTI.TTP
  76. - With "Viewer :" find the viewer in the VISU folder (MPEGDSP.TTP is a 
  77. good choice on the Falcon.)
  78. - Save the configuration by clicking on "Save" in the Configuration menu.
  79.  
  80. There! It's all configured!
  81. To see the possibilities with MPEG FEVER, try to decode the CINDY.MPEG 
  82. animation and then re-encode it.
  83.  
  84.  
  85. II Why this program?
  86. --------------------
  87.  
  88. Since the first DSP MPEG players appeared some time ago I realised that 
  89. there wasn't anything on the Atari for making these famous animations. 
  90. Having Internet access, I started hunting for sources of programmes 
  91. which did MPEG animations. After several weeks of research I eventually 
  92. found several utilities.
  93.  
  94. The three which I put into MPEG FEVER are the best of those I could 
  95. find. I had compiled and debugged them but I wasn't happy with the way 
  96. in which they had to be used. So I created MPEG FEVER which is a shell 
  97. which allows convenient use of the three programs (like POVSHELL with 
  98. POVRAY).
  99.  
  100. MPEG FEVER was developed on a 40Mhz Falcon 030 with Pure C 1.1 and 
  101. the marvellous BIG 1.93 (thanks to Claude Attard).
  102.  
  103.  
  104. III Why several versions?
  105. -------------------------
  106.  
  107. To check compatibility, I ran a test with a 32Mhz Falcon in VGA 16 colour 
  108. resolution on the CINDY.MPG animation which is made up of 30 images. The 
  109. test was done using the TGA format.
  110.  
  111.  
  112.              |-------------|-------------|    
  113.              |  Decoder    |  Encoder    |    
  114.              |-------------|-------------|    
  115.     68030+82 |  2 min 33 s |  7 min 54 s |
  116.     ---------|-------------|-------------|
  117.     68030    |  2 min 33 s | 28 min 20 s |
  118.     ---------|-------------|-------------|    
  119.     68000    |  3 min 23 s |  1 h 13 min |
  120.     ---------|-------------|-------------|
  121.  
  122.  
  123. IV The menus
  124. ------------
  125.  
  126. A few comments on the menus:
  127.  
  128. * "Paths" allows the configuration of paths to the different programs.
  129.  
  130. * "Save" allows the selection of all the paths chosen in MPEG FEVER to be 
  131. saved.
  132.  
  133.  
  134. V The Encoder
  135. -------------
  136.  
  137. * The Super Diskette icon allows the selection of a path and a file name. 
  138. This name then appears in the button on the right of the diskette.
  139.  
  140. * The Film icon allows viewing of the animation using the selected viewer.
  141.  
  142. * The program offers pop-up help~ menus. To access them, hold down the 
  143. Control button and move the mouse pointer over the window.
  144.  
  145. * The "MDB Inside" icon saves a file containing all the parameters needed 
  146. by the Encoder.
  147.  
  148. * Located in the "MPEG" box are the parameters allowing the selection of 
  149. the type of MPEG you want to create. For the current players on the 
  150. Falcon you have to use MPEG I with N=1 and M=1. Effectively, these 
  151. players only accept animations compatible with XING. These animations can 
  152. only be comprised of type I images and no P or B types.
  153.  
  154. * In the "Images sources" box is a "chain" icon which, once a path has 
  155. been chosen, allows the name and picture type information to be filled in 
  156. automatically. This only works with TGA or GIF pictures (I very much 
  157. doubt that you will be using other formats.)
  158.  
  159. * In the "Compression" box are the parameters which determine the 
  160. quality of the animation created. Make the following calculation:
  161. 3 * (X display) * (Y display) * (Images/s)
  162. and divide this number by a factor of between 5 and 10 (integer number); 
  163. this will give you the number of Bits. The "VBV buffer" is generally best 
  164. left at 20. It can happen that the NB player for the Falcon throws out 
  165. some nasty cr*p if you choose too high a Bits number.
  166.  
  167. I don't know why it does that, as the colour player doesn't. On the other 
  168. hand, don't try to make the animations too small (over-fast animation) or 
  169. too big (too slow an animation). A figure in the order of 160 by 120 
  170. seems to be a good compromise.
  171.  
  172. * The comments line will be saved in the heading of the MPEG animation. 
  173. You can enter anything you like except spaces.
  174.  
  175.  
  176. EXAMPLE
  177. -------
  178.  
  179. You have just finished a super animation using POV and you have 50 TGA 
  180. pictures:
  181. TOTO1.TGA (or TOTO0001.TGA) (The length of the generic name
  182. TOTO2.TGA (or TOTO0002.TGA) must not exceed 5 letters)
  183. .
  184. .
  185. TOTO50.TGA (or TOTO0050.TGA)
  186.  
  187. 1) Choose the path and the name of the animation.
  188. 2) Choose the path and the name of the folder where the animation's 
  189. compression statistics will be saved.
  190. 3) Choose the path and the name of the file containing the parameters to 
  191. be used by the Encoder. If you select an existing file parameter, all the 
  192. options will be updated.
  193. 4) Choose the path for the pictures. re-enter the generic name TOTO to 
  194. the right of the diskette, select TGA format and click on the chain icon. 
  195. If all your pictures are the same size and everything else is OK, all the 
  196. other parameters will be entered.
  197. 5) Select MPEG I and N=M=1.
  198. 6) Choose the compression parameters.
  199. 7) Enter a comments line (without any spaces).
  200. 8) Click on Apply.
  201. 9) Once created, you only have to click on the film icon to view the 
  202. animation.
  203.  
  204. If the Encoder produces the message "VBV delay overflow", don't take any 
  205. notice, just try to set the compression parameters so that it doesn't 
  206. reappear. This message will always appear wean the animation is too 
  207. small.
  208.  
  209.  
  210. VI The Decoder
  211. --------------
  212.  
  213. If you have read all the above I shouldn't have too much more to explain.
  214.  
  215. The "Level of detail" selects whether screen messages are brief or very 
  216. detailed. (1 is a good value.)
  217.  
  218. The rest is well explained by the pop-up menus.
  219.  
  220.  
  221. EXAMPLE
  222. -------
  223.  
  224. You have obtained a super MPEG animation over the Internet but 
  225. unfortunately it is incompatible with the Falcon players.
  226.  
  227. 1) Select the animation in question.
  228. 2) Select a path where the pictures will be stored, ensuring plenty of 
  229. space on the disk), a generic name and a picture format. (If you want to 
  230. retrieve specific pictures, it is best to select the TGA format, but if you 
  231. only want to re-encode it afterward, I advise the use of the "yuv" format 
  232. which is quicker.)
  233. 3) Choose the level of detail.
  234. 4) The rest of it is pretty stupid.
  235. 5) Click on Apply. There you are with a great big pile of pictures.
  236. 6) Now all that remains to be done is to use the Encoder to remake the 
  237. animation in a format compatible with the Falcon players.
  238.  
  239.  
  240. VII MPEGUTILS
  241. -------------
  242.  
  243. MPEGUTILS allows you to do three things:
  244. - View the contents of an MPEG animation (number of pictures, picture 
  245. types, running order etc)
  246. - Concatenate two MPEG animations.
  247. - Extract a portion of the animation (a clip!)
  248.  
  249. Everything is explained in the pop-up menus and in the panel shown by 
  250. pressing the Help key.
  251.  
  252.  
  253. IIX Further information on MPEG animations
  254. ------------------------------------------
  255.  
  256. An MPEG animation consists of a Group of Pictures (GOP) which generally 
  257. contain fifteen or so pictures with a maximum of 32. It always begins with 
  258. any Type I picture ("Intra frame") and must finish with a Type I or P 
  259. picture. The pictures in the middle are Type P or Type B; there are 
  260. never more than 8 consecutive Type B pictures.
  261.  
  262. A Type P picture ("Predicted frame") depends upon the type of picture (I 
  263. or P) which precedes it; only the difference between these two pictures 
  264. is saved.
  265.  
  266. A Type B picture ("Bidirectionally predicted frame" or "Interpolated 
  267. frame") depends both on the preceding and following pictures.
  268.  
  269. MPEG animations of this type are difficult to decode quickly and it is for 
  270. this reason that the so-called XING format appeared. MPEG animations of 
  271. this type have the following characteristics:
  272. - Only Type I pictures are used.
  273. - There is only one GOP.
  274.  
  275. This is why the N and M parameters must be set at 1 in the Encoder. At 
  276. the moment the Encoder makes as many GOPs as there are pictures, which 
  277. results in a larger animation size. This little detail should be sorted out 
  278. in a future version unless a new player which accepts Type P and B 
  279. pictures arrives.
  280.  
  281. MPEG FEVER does not allow control over all the options of the Encoder as 
  282. there are too many; for further information see the DOCS.
  283.  
  284.  
  285. IX Picture formats
  286. ------------------
  287.  
  288. - yuv is a special format created for MPEG animations, and has three 
  289. indexes: *.Y for brightness; *.U and *.V for colour. Coding a decoding 
  290. with these pictures is quicker and takes less space than TGA pictures. I 
  291. suggest you use this format to make an animation XING compatible which 
  292. is not currently.
  293.  
  294. - YUV format is the same as above except for the fact that the three 
  295. indexes have been concatenated into a single index.
  296.  
  297. - The PPM format ("Portable PixMap") comes from the UNIX world, and 
  298. version P6 closely resembles TGA.
  299.  
  300. - The SIF format (Abekas CCIR rec 656) is a b*stardisation of the yuv 
  301. format.
  302.  
  303. In my opinion the formats you will use the most in order to make an 
  304. animation XING compatible are TGA, GIF and eventually yuv.
  305.  
  306.  
  307. X Bugs
  308. ------
  309.  
  310. If the path information is too long, ie the likes of:
  311. e:\toto\raoul\marcel\68000\decoder\cindy0.mpg
  312. (particularly with the Decoder) you risk bombing out (of the Decoder 
  313. only). If you find any bugs, let me know.
  314.  
  315. Have fun with MPEG FEVER.
  316.  
  317. =======================================================================
  318.  
  319. English translation by Ralph Nelson-Tucker, February 1996
  320.  
  321.